/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VOL.Entity.SystemModels;

namespace VOL.Entity.DomainModels
{
    [Entity(TableCnName = "材料",TableName = "upper_matirial")]
    public partial class upper_matirial:BaseEntity
    {
        /// <summary>
       ///主键
       /// </summary>
       [Key]
       [Display(Name ="主键")]
       [Column(TypeName="int")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public int matirial_id { get; set; }

       /// <summary>
       ///性质:长*宽*高
       /// </summary>
       [Display(Name ="性质:长*宽*高")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string quality { get; set; }

       /// <summary>
       ///材质:材料牌号
       /// </summary>
       [Display(Name ="材质:材料牌号")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public string material { get; set; }

       /// <summary>
       ///创建时间
       /// </summary>
       [Display(Name ="创建时间")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? create_time { get; set; }

       /// <summary>
       ///修改时间
       /// </summary>
       [Display(Name ="修改时间")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? update_time { get; set; }

       /// <summary>
       ///是否删除：0：否，1：是
       /// </summary>
       [Display(Name ="是否删除：0：否，1：是")]
       [Column(TypeName="bool")]
       [Editable(true)]
       public bool? is_deleted { get; set; }

       
    }
}